package edu.friday.model;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@Data
@Table(name = "sys_menu_role",schema = "friday")
@IdClass(SysMenuRolePK.class)
public class SysMenuRole {
    @Id
    private Long roleId;
    @Id
    private Long menuId;
}
